package high.concurent.request;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 用户注册前端传的参数
 */
@Data
@ApiModel(value = "用户注册对象", description = "用户注册请求对象")
public class UserRegistryRequest {


    /**
     * 昵称
     */
    @ApiModelProperty(value = "昵称", example = "hbz")
    private String name;

    /**
     * 密码
     */
    @ApiModelProperty(value = "密码", example = "123456")
    private String pwd;

    /**
     * 头像
     */
    @JsonProperty("head_img")
    @ApiModelProperty(value = "头像", example = "https://comprehensivehbz.oss-cn-shenzhen.aliyuncs.com/userImage/2021/07/15/e86d57ef4e07474ba2c2f8345fceba16.jpg")
    private String headImg;

    /**
     * 用户签名
     */
    @ApiModelProperty(value = "用户签名", example = "今天天气真好")
    private String slogan;

    /**
     * 0表示女，1表示男
     */
    @ApiModelProperty(value = "性别(0表示女，1表示男)", example = "1")
    private Integer sex;

    /**
     * 邮箱
     */
    @ApiModelProperty(value = "邮箱", example = "5154655487@163.com")
    private String mail;


    /**
     * 验证码
     */
    @ApiModelProperty(value = "验证码", example = "987654")
    private String captchaCode;

    /**
     * 验证码方式
     */
    @ApiModelProperty(value = "验证码方式(0: 手机验证;1:邮箱验证)", example = "1")
    private Integer captchaCodeType;
}
